<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DropDownTest.aspx.cs" Inherits="Testing_DropDownTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DeleteMethod="DeleteAllWDivisionId"
            InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="SelectAll"
            TypeName="PlacementManager.ContactComponent" UpdateMethod="Update">
            <DeleteParameters>
                <asp:Parameter Name="DivisionId" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="ContactId" Type="Int32" />
                <asp:Parameter Name="FirstName" Type="String" />
                <asp:Parameter Name="LastName" Type="String" />
                <asp:Parameter Name="JobTitle" Type="String" />
                <asp:Parameter Name="EmailAddress" Type="String" />
                <asp:Parameter Name="IsAgency" Type="Boolean" />
                <asp:Parameter Name="IsEducator" Type="Boolean" />
                <asp:Parameter Name="EducatorTypeId" Type="Int32" />
                <asp:Parameter Name="EducatorCurrentRate" Type="Decimal" />
                <asp:Parameter Name="IsActive" Type="Boolean" />
                <asp:Parameter Name="DivisionId" Type="Int32" />
                <asp:Parameter Name="DateCreated" Type="DateTime" />
                <asp:Parameter Name="CreatedBy" Type="String" />
                <asp:Parameter Name="DateUpdated" Type="DateTime" />
                <asp:Parameter Name="UpdatedBy" Type="String" />
            </UpdateParameters>
            <SelectParameters>
                <asp:Parameter DefaultValue="FirstName" Name="sortExpression" Type="String" />
            </SelectParameters>
            <InsertParameters>
                <asp:Parameter Name="FirstName" Type="String" />
                <asp:Parameter Name="LastName" Type="String" />
                <asp:Parameter Name="JobTitle" Type="String" />
                <asp:Parameter Name="EmailAddress" Type="String" />
                <asp:Parameter Name="IsAgency" Type="Boolean" />
                <asp:Parameter Name="IsEducator" Type="Boolean" />
                <asp:Parameter Name="EducatorTypeId" Type="Int32" />
                <asp:Parameter Name="EducatorCurrentRate" Type="Decimal" />
                <asp:Parameter Name="IsActive" Type="Boolean" />
                <asp:Parameter Name="DivisionId" Type="Int32" />
                <asp:Parameter Name="DateCreated" Type="DateTime" />
                <asp:Parameter Name="CreatedBy" Type="String" />
                <asp:Parameter Name="DateUpdated" Type="DateTime" />
                <asp:Parameter Name="UpdatedBy" Type="String" />
            </InsertParameters>
        </asp:ObjectDataSource>
    
    </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
            <Columns>
                <asp:BoundField DataField="CreatedBy" HeaderText="CreatedBy" SortExpression="CreatedBy" />
                <asp:CheckBoxField DataField="IsAgency" HeaderText="IsAgency" SortExpression="IsAgency" />
                <asp:BoundField DataField="DivisionId" HeaderText="DivisionId" SortExpression="DivisionId" />
                <asp:CheckBoxField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
                <asp:BoundField DataField="UpdatedBy" HeaderText="UpdatedBy" SortExpression="UpdatedBy" />
                <asp:BoundField DataField="EducatorTypeId" HeaderText="EducatorTypeId" SortExpression="EducatorTypeId" />
                <asp:BoundField DataField="EmailAddress" HeaderText="EmailAddress" SortExpression="EmailAddress" />
                <asp:BoundField DataField="ContactId" HeaderText="ContactId" SortExpression="ContactId" />
                <asp:BoundField DataField="DateUpdated" HeaderText="DateUpdated" SortExpression="DateUpdated" />
                <asp:BoundField DataField="EducatorCurrentRate" HeaderText="EducatorCurrentRate"
                    SortExpression="EducatorCurrentRate" />
                <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName" />
                <asp:BoundField DataField="JobTitle" HeaderText="JobTitle" SortExpression="JobTitle" />
                <asp:CheckBoxField DataField="IsEducator" HeaderText="IsEducator" SortExpression="IsEducator" />
                <asp:BoundField DataField="DateCreated" HeaderText="DateCreated" SortExpression="DateCreated" />
            </Columns>
        </asp:GridView>
    </form>
</body>
</html>
